A Step Towards Ambiguity Less Natural Language Software Requirements Specifications
نویسندگان
چکیده
In modern software engineering practice, the ability to specify ambiguity less software requirements in a natural language (NL) in a seamless way is highly valuable and desirable. Though, the software requirements are typically captured in natural languages (NL) such as English, there is a very high probability that more than half NL requirements can be ambiguous. For example, Mich identified that approx. 72% of the NL requirements are potentially ambiguous. A primary reason of such ambiguous NL requirements is syntactic and semantic ambiguities in a natural language such as English. A problem with ambiguous NL requirements is that a software engineer can miss-interpret requirements and can generate an erroneous and absurd software model. In this paper, we aim to address this challenge by presenting a novel approach that is based a semantically controlled NL representation for software requirements. To generate a semantically controlled NL representation, we propose the use of Semantic of Business Vocabulary and Rules (SBVR) standard. We solve a case study to bear out that a SBVR based controlled representation can not only help in generating accurate and consistent software models but can also simplify the machine processing of requirements. The results show that our approach can be helpful in generating the accurate and consistent software models from NL software requirements. A Java implementation of the used approach is also presented a proof of concept that is also available as an Eclipse plugin.
منابع مشابه
Higher Quality Requirements Specifications through Natural Language Patterns
In most current industrial software engineering projects, the majority of requirements documents are written almost entirely in natural language. However, specifying the requirements in natural language has one major drawback, namely the inherent imprecision, i.e., ambiguity, incompleteness, and inaccuracy, of natural language. Since the requirements document forms the basis of the whole develo...
متن کاملFrom Contract Drafting to Software Specification: Linguistic Sources of Ambiguity
This handbook is about writing software requirements specifications and legal contracts, two kinds of documents with similar needs for completeness, consistency, and precision. Particularly when these are written, as they usually are, in natural language, ambiguity—by any definition—is a major cause of their not specifying what they should. Simple misuse of the language in which the document is...
متن کاملModel Based Test Case Generation From Natural Language Requirements And Inconsistency, Incompleteness Detection in Natural Language Using Model-Checking Approach
Natural language (NL) is any language that arises in an unpremeditated fashion as the result of the innate facility for language possessed by the human intellect. A natural language is typically used for communication, and may be spoken, signed/written. Natural language (NL) is still widely used for developing software requirements specifications or other artifacts created for documenting requi...
متن کاملSoftware requirements as an application domain for natural language processing
Mapping functional requirements first to specifications and then to code is one of the most challenging tasks in software development. Since requirements are commonly written in natural language, they can be prone to ambiguity, incompleteness and inconsistency. Structured semantic representations allow requirements to be translated to formal models, which can be used to detect problems at an ea...
متن کاملTest Generation from Formal Specifications
Requirements serve as the basis of test generation. Requirements for a program under test can be known to the test generator in a variety of forms. A commonly used form is a plain English language description. The tester generates test cases from these requirements. While requirements written in plain English allow quick understanding and dissemination to a wide audience, they suffer from sever...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IJWA
دوره 4 شماره
صفحات -
تاریخ انتشار 2012